function searchData (data, keyword) {
    return data.filter((item, index) => {
        return item.bookTitle.toLowerCase().includes(keyword.toLowerCase());
    })
}

module.exports = {
    searchData
}